grub2: Don't delete grub2.cfg.old file we just copied
authorColin Walters <walters@verbum.org>
Wed, 27 Jan 2016 15:43:57 +0000 (10:43 -0500)
committerColin Walters <walters@verbum.org>
Wed, 27 Jan 2016 15:46:12 +0000 (10:46 -0500)
commit3d2322db7a609fb4653ce6bf6c4b96b0c315a5b7
tree0dcdc4cbd87dd5c3f010b31fcc9e3218268a0539
parent91a1f91440a974dfce4c0e1bedc2756d4f632972
grub2: Don't delete grub2.cfg.old file we just copied

The original intention here was that we'd keey around a copy of the
file so that grub2 could eventually learn how to do atomic updates by
checking for a "fully written" marker in the *new* file, and if it
didn't exist, falling back to grub2.cfg.old.

I haven't yet proposed that upstream, but we might as well stop
deleting the file since it's useful as a backup at least.

Reported-by: Gatis Paeglis
src/libostree/ostree-bootloader-grub2.c